import java.util.*;
public class Copy{
	public static void main(String args[]) {
		int a[]= {0,1,2,3,4};
		int b[]=new int[100];
		System.arraycopy(a,0, b,0 ,5);
		for(int i=0;i<5;i++) {
			System.out.print(b[i]);
			}
System.out.println();
                for(int i=0;i<5;i++) {
			System.out.print(a[i]);
			}
			
		
	}
}